<template>
  <div class="about">
    <D></D>
  </div>
</template>
<script>
import D from '../components/D';
export default {
  components:{D},
  data(){
    return {
      name: '鲁智深',
      explan: "花和尚"
    }
  },
  mounted() { // $children 所有子组件实例的集合
    // console.log(this.$children);
    this.$children[0].eat();
  },
}
</script>
